export {};

// 四个方向
enum Direction {
  Up = 100,
  Down,
  Left,
  Right,
}

function changeDirection(direction: Direction) {
  console.log(direction);
}

changeDirection(Direction.Up);
changeDirection(Direction.Down);
changeDirection(Direction.Left);
changeDirection(Direction.Right);
